<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>test</title>
    <style>
        .list {
            position: relative;
        }

        .row {
            overflow: hidden;
            position: absolute;
            box-sizing: border-box;
            width: 100%;
            left: 0px;
            margin: .5em 0;
            padding: 1em;
            background: #fff;
            box-shadow: 0 0 1px rgba(0, 0, 0, .2);
            transition: transform .5s ease-in-out, opacity .5s ease-out, left .5s ease-in-out;
        }

        .row div {
            width: 20%;
            display: inline-block;
            vertical-align: middle;
        }

        .rm-btn {
            cursor: pointer;
            position: absolute;
            top: 0;
            right: 0;
            color: #C25151;
            width: 1.4em;
            height: 1.4em;
            text-align: center;
            line-height: 1.4em;
            padding: 0;
        }
    </style>
</head>

<body>
    <h1>Top 10 users</h1>
    <div style="display: flex;justify-content: space-between;">
        <div>
            <span>Sort by :</span>
            <button>number</button>
            <button>name</button>
            <button>age</button>
        </div>
        <div>
            <button>add</button>
        </div>
    </div>
    <div class="list">
        <div class="row" style="opacity: 1;transform: translateY(71px);">
            <div style="font-weight: bold;">1</div>
            <div>zhangsan</div>
            <div>28</div>
            <div class="btn rm-btn">X</div>
        </div>
    </div>
</body>

</html>